package com.bocloud.cmp.dao.app;

import java.util.List;
import com.bocloud.cmp.entity.app.resource.ApplicationOpenshiftClusterInfo;

/**
 * 
 * @author zjm
 * @date 2017年3月30日
 */
public interface ApplicationOpenshiftClusterInfoDao {

	/**
	 * 保存
	 * 
	 * @param applicationOpenshiftClusterInfo
	 * @return
	 * @throws Exception
	 */
	public boolean saveApplicationOpenshiftClusterInfo(ApplicationOpenshiftClusterInfo applicationOpenshiftClusterInfo)
			throws Exception;

	/**
	 * 删除
	 * 
	 * @param applicationOpenshiftClusterInfo
	 * @return
	 * @throws Exception
	 */
	public boolean deleteApplicationOpenshiftClusterInfo(
			ApplicationOpenshiftClusterInfo applicationOpenshiftClusterInfo) throws Exception;

	/**
	 * 查询
	 * 
	 * @author zjm
	 * @date 2017年3月30日
	 *
	 * @param appId
	 * @return
	 */
	public ApplicationOpenshiftClusterInfo getApplicationOpenshiftClusterInfo(Long appId)
			throws Exception;
	/**
	 * 查询
	 * 
	 * @author zjm
	 * @date 2017年3月30日
	 *
	 * @param appId
	 * @return
	 */
	public List<ApplicationOpenshiftClusterInfo> getAppClusterInfo(Long appClusterId)
			throws Exception;
}
